﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Admin.Admin.ShopMan
{
    public partial class ShopList : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            IsLogin();

            if (!IsPostBack)
            {
                Bind();
            }
        }

        protected void Bind()
        {
            DataTable shopDt = new NS.BLL.Shops().GetList("IsDeleted=0").Tables[0];
            this.Shops.DataSource = shopDt;
            this.Shops.DataBind();
        }
    }
}